<html>
<head>
    <link href="<?php echo base_url().'uploadify/uploadify.css'?>" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="<?php echo base_url().'uploadify/jquery-1.4.2.min.js'?>"></script>
    <script type="text/javascript" src="<?php echo base_url()?>uploadify/swfobject.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>uploadify/jquery.uploadify.v2.1.4.min.js"></script>
    <script type="text/javascript"> base_url = "<?php echo base_url(); ?>";</script>
	<script type="text/javascript">
    $(document).ready(function() {
      $('#file_upload').uploadify({
        'uploader'  : base_url + 'uploadify/uploadify.swf',
        'script'    : base_url + 'uploadify/uploadify.php',
        'cancelImg' : base_url + 'uploadify/cancel.png',
        'folder'    : 'uploads/images/'
      });
    });
    </script>

</head>
<body>

    <input id="file_upload" name="file_upload" type="file" />
	<p>
<a href="javascript:$('#file_upload').uploadifyUpload()">Upload Files</a>
</p>

</body>

<html>